﻿<src:BaseActivityPanel x:Class="SsTool.Controls.Workflow.ActivityPanel2"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:src="clr-namespace:SsTool.Controls.Workflow"
             mc:Ignorable="d" 
             Height="40"
             Width="80">
    <Border BorderThickness="2" BorderBrush="#FF222222" Margin="0" CornerRadius="3">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding Caption}" TextAlignment="Center" Foreground="#FFFCF2F2" />
        </Grid>
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF37ABD4" Offset="0.152" />
                <GradientStop Color="#FF57ABD4" Offset="0.879" />
            </LinearGradientBrush>
        </Border.Background>
    </Border>
</src:BaseActivityPanel>
